package com.xjt.wx_admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xjt.wx_admin.entity.MsgRecord;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xujt
 * @since 2023-03-22 11:33:28
 */
public interface MsgRecordMapper extends BaseMapper<MsgRecord> {

    Page<MsgRecord> queryUserMsg(@Param("page") Page<MsgRecord> page, Long userId, Long toId);

}
